package com.service;

import com.domain.Role;
import com.qo.PageResult;
import com.qo.QueryObject;

import java.util.List;

/**
 * @author shkstart
 * @create 2022/3/11-11:28
 */
public interface RoleService {
    void delete(Long id);
    void save(Role role, Long[] roleIds);
    Role get(Long id);
    List<Role> listAll();
    void update(Role role, Long[] roleIds);
    PageResult<Role> query(QueryObject queryObject);
}
